package model.workersWithData.sort;

import java.util.Comparator;

import entities.IOrder;

public class SortOrderByBeginningDate implements Comparator<IOrder> {
	
	public int compare(IOrder o1, IOrder o2) {
		int result=0;
		result= o1.getBeginingDate().compareTo(o2.getBeginingDate());
		return result;
	}

}
